package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单剂量对象 work_order_name_dose_value
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
public class WorkOrderNameDoseValue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 工单名称 */
    @Excel(name = "工单名称")
    private String workOrderName;

    /** 剂量 */
    @Excel(name = "剂量")
    private BigDecimal doseValue;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sameDayTime;

    /** $column.columnComment */
    @Excel(name = "时间")
    private String rwpCode;

    /** $column.columnComment */
    @Excel(name = "时间")
    private String overhaulName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkOrderName(String workOrderName) 
    {
        this.workOrderName = workOrderName;
    }

    public String getWorkOrderName() 
    {
        return workOrderName;
    }
    public void setDoseValue(BigDecimal doseValue) 
    {
        this.doseValue = doseValue;
    }

    public BigDecimal getDoseValue() 
    {
        return doseValue;
    }
    public void setSameDayTime(Date sameDayTime) 
    {
        this.sameDayTime = sameDayTime;
    }

    public Date getSameDayTime() 
    {
        return sameDayTime;
    }
    public void setRwpCode(String rwpCode) 
    {
        this.rwpCode = rwpCode;
    }

    public String getRwpCode() 
    {
        return rwpCode;
    }
    public void setOverhaulName(String overhaulName) 
    {
        this.overhaulName = overhaulName;
    }

    public String getOverhaulName() 
    {
        return overhaulName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workOrderName", getWorkOrderName())
            .append("doseValue", getDoseValue())
            .append("sameDayTime", getSameDayTime())
            .append("rwpCode", getRwpCode())
            .append("overhaulName", getOverhaulName())
            .toString();
    }
}
